package lc.com.architecture.dagger.component;

import android.app.Application;

import javax.inject.Singleton;

import dagger.Component;
import lc.com.architecture.dagger.module.AppModule;
import lc.com.architecture.dagger.module.HttpClientModule;
import lc.com.architecture.dagger.module.ImageLoaderModule;
import lc.com.architecture.dagger.module.ServiceModel;
import retrofit2.Retrofit;

/**
 * @author LiuChao
 * @describe
 * @date 2017/11/3
 * @contact email:450127106@qq.com
 */
@Singleton
@Component(modules = {AppModule.class, HttpClientModule.class, ImageLoaderModule.class})
public interface AppComponent {
    Application application();

    ServiceModel serviceModel();

}
